package com.hualan.mapper;

import com.hualan.pojo.ConsultFeedback;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
/**
* @author 洪多鑫
* @description 针对表【consult_feedback】的数据库操作Mapper
* @createDate 2025-04-28 10:24:13
* @Entity com.hualan.pojo.ConsultFeedback
*/
public interface ConsultFeedbackMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ConsultFeedback record);

    int insertSelective(ConsultFeedback record);

    ConsultFeedback selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ConsultFeedback record);

    int updateByPrimaryKey(@Param("id") Integer id, @Param("feedback") String feedback);

    List<ConsultFeedback> selectAllByConsultType(String type);

    int deleteBatch(List<Integer> ids);
}
